home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / FireMan.swf / scripts / frame_770 / PlaceObject2_112_9 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2008-09-12  |  316b  |  16 lines

  1. onClipEvent(enterFrame){
  2.    _X = _root.city._x - xi;
  3.    c++;
  4.    if(c >= 2)
  5.    {
  6.       c = 0;
  7.       i++;
  8.       if(i >= 10)
  9.       {
  10.          i = 1;
  11.       }
  12.       initObj = {_x:_X + _root.aleatorio(-15,15),_y:_Y + _root.aleatorio(-50,60)};
  13.       _root.exs.duplicateMovieClip("exs" + i,i,initObj);
  14.    }
  15. }
  16.